package edu.pku.sei.mte.mtemodel.graph;

import edu.pku.sei.mte.mtemodel.core.Element;
import edu.pku.sei.mte.utilities.Visitor;



@SuppressWarnings("unchecked")
public class GraphObject<GRAPH extends Graph> extends Element{
	private GRAPH host;
	
	public GraphObject(){
		super();
	}

	public void setHost(GRAPH host) {
		this.host = host;
	}

	public GRAPH getHost() {
		return host;
	}

	@Override
	public Object accept(Visitor visitor) {
		return visitor.visitGraphObject(this);
	}
}
